#pragma once
#include "D3D9Camera.h"

class Direct3D9API CD3DCameraOrtho : public CD3DCamera
{
public:
	CD3DCameraOrtho( const CD3DWorld* pSubject );
	~CD3DCameraOrtho(void);

	void setProjection( FLOAT fWidth, FLOAT fHeight, FLOAT fNear, FLOAT fFar );
	void setWidth( FLOAT fWidth );
	void setHeight( FLOAT fHeight );

private:
	void computeProjectionMatrix();

	FLOAT m_fWidth, m_fHeight;
};

